<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>日历插件</title>
  <style media="screen">
    #syausf_date_widget{
      width:300px;
      /*height:360px;*/
    }
  </style>
</head>
<body>
  <div id="ait_date_widget"></div>
  <script src="./js/ait_date_widget_v1.0.0.min.js" charset="utf-8"></script>
  <script type="text/javascript">
    var arr = ["7","1","2","3","4","5","6"];//设置日期格式
    var color = ["#ccc","#fff"];//设置标题颜色
    var data = {//设置数据
      '2016-11': {
          1:[['sw1','http://sw1'],['12xw1','http://xw1']],
          2:[['sw1','http://sw2'],['12xw1','http://xw2']],
          19:[['sw1','http://sw3'],['12xw1','http://xw3']]
      },
      '2016-12': {
          1:[['12sw1','http://12sw1'],['12xw1','http://12xw1']],
          2:[['12sw1','http://12sw2'],['12xw1','http://12xw2']],
          19:[['12sw1','http://12sw3'],['12xw1','http://12xw3']]
      }
    };
    var widgetFloat = ['200','85'];//设置浮动面板大小
    var weekColor = ["#ddd","#000"];//设置星期栏颜色
    var dataColor = "#FF8300";//设置有数据的元素的颜色
    ait_date_widget({
      id:"ait_date_widget",
      weekName:arr,
      data:data,
      widgetFloat:widgetFloat,
      weekColor:weekColor,
      dataColor:dataColor
    });
  </script>
</body>
</html>
